using System;
using System.Collections.Generic;
using System.Text;

namespace VGS {
    /// <summary>
    /// Team lineups
    /// </summary>
    public class Lineups {
        private Lineup home_team_lineup = new Lineup();
        private Lineup away_team_lineup = new Lineup();


        /// <summary>
        /// Get the home team lineup
        /// </summary>
        public Lineup HomeTeam
        {
            get
            {
                return home_team_lineup;
            }
        }


        /// <summary>
        /// Get the away team lineup
        /// </summary>
        public Lineup AwayTeam
        {
            get
            {
                return away_team_lineup;
            }
        }


        /// <summary>
        /// Returns true if both lineups are full, otherwise false
        /// </summary>
        public bool AreFull
        {
            get
            {
                return home_team_lineup.IsFull && away_team_lineup.IsFull;
            }
        }
    }
}
